cmake_minimum_required(VERSION 2.6)

project(FPSW)

enable_language(Fortran)
enable_language(C)

set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)

set(double_precision on)

include(CheckMachine)
check_machine()

include(ConfigCompiler)
config_compiler()

add_subdirectory(${PROJECT_SOURCE_DIR}/util)
add_subdirectory(${PROJECT_SOURCE_DIR}/core)
add_subdirectory(${PROJECT_SOURCE_DIR}/main)
add_subdirectory(${PROJECT_SOURCE_DIR}/init_data)
add_subdirectory(${PROJECT_SOURCE_DIR}/test)
